package com.navinfo.platform.trip.common.arithmetic.var;

import com.navinfo.platform.trip.common.arithmetic.Mileage;
import lombok.Data;

/**
 * 里程油耗算法{@link Mileage}的统计变量
 */
@Data
public class VarMileageFuel {

    /**
     * 行程内积分里程(单位:M)
     */
    private double routeIntegralMileage;
    /**
     * 行程内积分油耗(单位:ml)
     */
    private double routeIntegralFuelConsumption;

    /**
     * 累加工作时长(单位:秒)
     */
    private double engineWorkTime;


    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("VarMileageFuel{");
        sb.append("routeIntegralMileage=").append(routeIntegralMileage);
        sb.append(", routeIntegralFuelConsumption=").append(routeIntegralFuelConsumption);
        sb.append(", engineWorkTime=").append(engineWorkTime);
        sb.append('}');
        return sb.toString();
    }
}
